

import re

text = "某段包含6.2.2 项目管现的重要性的文本..."
pattern = r"\b\d+\.\d+\b"

match = re.search(pattern, text)
if match:
    print("找到了匹配项：", match.group(0))
else:
    print("未找到匹配项")